package com.elink.enginerring.subject.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.blog.entity.Blog;
import com.elink.enginerring.common.BaseCo;
import com.elink.enginerring.subject.entity.SubjectBlog;

public interface SubjectBlogMapper {
    int deleteByPrimaryKey(String catalogId);

    int insert(SubjectBlog record);

    int insertSelective(SubjectBlog record);

    SubjectBlog selectByPrimaryKey(String catalogId);

    int updateByPrimaryKeySelective(SubjectBlog record);

    int updateByPrimaryKey(SubjectBlog record);
    
	List<Blog> selectList(@Param("catalogId")String catalogId,@Param("co")BaseCo co);

	int selectCount(@Param("catalogId")String catalogId,@Param("co")BaseCo co);
	
	List<Blog> selectListByCatalogId(@Param("catalogId")String catalogId,@Param("co")BaseCo co);

	int selectCountByCatalogId(@Param("catalogId")String catalogId,@Param("co")BaseCo co);
	
	void insertBatch(List<SubjectBlog> fdc);
}